@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/coupon/coupon_generate.js"]}){
<form id="userForm" lay-filter="couponForm" class="layui-form model-form">
    <div class="layui-form-item">
        <label class="layui-form-label">长度<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="length" placeholder="10~100" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">数量<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="count" placeholder="1~500" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>

    <div class="layui-form-item text-center">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnGenerate" lay-submit>生成</button>
    </div>
</form>
@}
